.home {
  $comSpacing: 20px;

  &:last-child {
    margin-left: $comSpacing;
  }

  // MainBar
  .banner {
    max-width: 750px;
    height: 180px;
    margin-bottom: 20px;
    background-color: white;
    border: solid 1px red;

    .ant-carousel {
      border-radius: 4px;
      overflow: hidden;

      .slick-dots-bottom {
        bottom: 0;
      }

      .carousel-unit {
        height: 180px;
        line-height: 180px;
        background-color: #364D79;
        text-align: center;
        color: white;
        margin: 0;
      }
    }
  }

  .article {
    .pagination {
      // border-bottom: 1px solid #EBEBEB;
      text-align: center;
      padding: 10px 0;
      position: relative;
      z-index: 999;
    }

    .branchCate-radio-box {
      width: 100%;
      display: flex;
      justify-content: flex-start;
      align-items: center;

      .label {
        display: inline-block;
        width: 100%;
        height: 50px;
        line-height: 48px;
        box-sizing: border-box;
        border: 1px solid #EBEBEB;
        border-top-color: transparent;
        color: #666;
        text-align: center;
        margin: 0;
        padding: 0 10px;
        cursor: pointer;
        user-select: none;

        &:first-of-type {
          border-radius: 4px 0 0 0;
          border-left-color: transparent;
        }

        &:not(:last-of-type) {
          border-right: none;
        }

        &:last-of-type {
          border-radius: 0 4px 0 0;
          border-right-color: transparent;
        }
      }

      .radio:checked + .label {
        border: 1px solid #00C3FF;
        background-color: #00C3FF;
        color: white;
        font-weight: bold;
      }

      .radio:checked + .label + .radio + .label {
        border-left: none;
      }
    }
  }

  // SideBar
  .publish {
    height: 180px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    .button-box {
      flex: 1;
      width: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      padding: 0 50px;

      .postPost {
        width: 100%;
        height: 45px;
        outline: none;
        border: none;
        border-radius: 4px;
        font-weight: bold;
        background-color: #FFE14C;
        color: #663C00;
        margin-bottom: 10px;
        cursor: pointer;
        transition: 0.2s all;

        &:hover {
          background-color: #FFE733;
        }
      }

      .noteText {
        color: #999;
      }
    }
  }

  .features {
    margin-bottom: $comSpacing;

    .author-WeChat-QRCode {
      width: 300px;
      height: 300px;
      background-size: cover;
      margin: 0 auto;
    }

    .tags-box {
      padding: 20px;

      .tags {
        margin-bottom: 8px;
      }
    }

    .recent-visitors {
      display: flex;
      justify-content: flex-start;
      padding: 20px 30px;

      &:last-child {
        border-radius: 0 0 4px 4px;
      }

      &:hover {
        background-color: #FCFCFC;
      }

      .recent-visitors_avatar {
        .avatar-box {
          width: 50px;
          height: 50px;
          border: 1px solid #999;
          border-radius: 50%;
          background-size: cover;
        }
      }

      .recent-visitors_username {
        flex: 1;
        display: flex;
        align-items: center;
        padding-left: 20px;
      }
    }
  }
}
